package com.rykj.qxj.server.dao;

import com.rykj.qxj.server.common.ZmanagerBaseMapper;
import com.rykj.qxj.server.model.entity.DatabaseSource;

import java.util.List;
import java.util.Map;

public interface DatabaseSourceMapper extends ZmanagerBaseMapper<DatabaseSource> {

    void saveDatabaseSource(DatabaseSource databaseSource);

    void updateDatabaseSource(DatabaseSource databaseSource);

    void deleteDatabaseSourceById(Integer baseSourcId);

    List<DatabaseSource> getDatabaseSourceList(Map<String, Object> paraMap);

    DatabaseSource  getDatabaseSourceDetails(Integer id);

    DatabaseSource databaseIfExist(Map<String, Object> paraMap);

    DatabaseSource getSzqxReadDataSource();
}
